﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="View.aspx.cs" Inherits="NsfcSurvey.Web.View" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="themes/Default/View.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="display: none;">
        <div>
            <asp:Button ID="Button2" Text="生成数据" runat="server" CssClass="button green" OnClick="Button2_Click" />
        </div>
        <div>
            <asp:TextBox ID="ds" runat="server" TextMode="MultiLine" Rows="10"></asp:TextBox>
        </div>
    </div>
    <div class="DataPanel">
        drag to choose time span
        <asp:GridView ID="gvData" Width="100%" AutoGenerateColumns="False" runat="server"
            SkinID="SimpleList" AllowPaging="False" PageSize="20" OnRowDataBound="gvData_RowDataBound">
            <Columns>
                <asp:TemplateField HeaderText="No.">
                    <ItemStyle CssClass="listNo" />
                    <ItemTemplate>
                        <asp:Literal ID="LtrNo" runat="server"></asp:Literal></ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="填报单位">
                    <ItemTemplate>
                        <%# Eval("DepartmentName")%>
                    </ItemTemplate>
                    <ItemStyle CssClass="RegCode" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="填报时间">
                    <ItemTemplate>
                        <%# Eval("AnswerTime")%>
                    </ItemTemplate>
                    <ItemStyle CssClass="Name" />
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
